package com.eshop.modules.mp.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.mp.service.dto.WechatMenuDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.mp.service.dto.WechatMenuQueryCriteria;
import com.eshop.modules.mp.domain.WechatMenu;
import com.eshop.common.service.BaseService;

public interface WechatMenuService extends BaseService<WechatMenu>
{
    Map<String, Object> queryAll(final WechatMenuQueryCriteria criteria, final Pageable pageable);
    
    List<WechatMenu> queryAll(final WechatMenuQueryCriteria criteria);
    
    void download(final List<WechatMenuDto> all, final HttpServletResponse response) throws IOException;
    
    Boolean isExist(final String wechat_menus);
}
